Chapter 8 - Indoor Scene


calisoft3.jpg


 

1.       You just received an Email message congratulating you on being selected for doing the next advertising image for a very successful new product but the deadline has been moved up so you really don’t have much time. In addition the client is rather specific what is wanted. Odd as it may seem, he or she (not sure of which) wants the new product presented to the world through a kitchen view no less and being able to taste the bubbling brew by just looking at it.

 

2.       So knowing this is your first big chance or break, you agree. Maybe with some doubts but that inner voice just says, Yeah baby! You can do it!

 

3.       Still the confidence builds because you know TS will not let you down. Maybe using HDRI will be the answer since it

 

          a.       Can contain a lot of scene information which one doesn’t have to model

 

          b.       Will add realistic environmental reflections and highlights with shadows matching the back ground even

 

          c.       In addition it can light your scene

 

                    i.        How could one ask for more

 

                              (1)     besides your client that is.

 

4.       You open up your folder of HDRIs to review

 

          a.       One empty kitchen ready to go

 

                    i.        Good!

                    ii.       just have to add some objects to fill it up you think.

 

          b.       So you decide to use the real time renderer to help you use this HDRI

 

                    i.        You open up a new 3d window and dock it side by side with the Link Editor.

 

                    ii.       Then dragging the Course camera and HDRI viewer to the Link Editor and opening up the advance views on these objects.

 

                              (1)     There you link both objects together so that Player HDRI background will be in synch with modeler’s environment background

 

                              (2)     Selecting camera in both Player and modeler and loading the panoramic version of the same HDRI

 

                              (3)     This new 3d view can greatly aid in positioning objects in the scene to take advantage of HDRI lighting.

 

5.       Welcome back by the way, all kidding aside lets have some fun with this scene.

 

          a.       Go ahead and close the Bitmaps library and turn off the grid for the player

 

6.       Before we put some items in this scene lets make this HDRI environment more viewable, it has rather dark and very bright areas, typical of an indoor scene with an outside view, the dynamic range is rather high.

 

          a.       We talked about tone mapping in chapter 2,

 

                    i.        Taking a high tonal range image or high dynamic range image and displaying it on a low dynamic range device such as a typical computer monitor.

 

                    ii.       In TrueSpace you can use tone mapping in the modeler.

 

                    iii.      Lets do that:

 

                              (1)     Turn on the Global Environment and close panel

 

                              (2)     Open the Render toolbar

 

                              (3)     Then open up the post process editor by right clicking on any of the post process tool buttons;

 

                                         (a)     this will automatically show the scene in the Editor window which in this case only the HDRI environment image will show.

                                                   (i)      to update editor preview window, just right click

                                                             1)      resizing window will also update the view

 

                                         (b)     The Editor window is very useful to use as a preview of your scene if needed.

 

                              (4)     Go ahead and expand the Post process panels and close the

 

                                         (a)     LensFlaresOptions panel

 

                                         (b)     and Depth of field panel.

 

                              (5)     Make sure the ToneMapping button to left is highlighted so that Tone Mapping will be done and the other buttons are disabled or not highlighted or disabled.

 

                              (6)     Adjust tone mapping as you see fit,

 

                                         (a)     I am going to brighten up image using brightness

                                                   (i)      as you will notice the Editor Preview window will automatically update.

 

                                         (b)     With balance control I am going to adjust a little to the left

 

                                         (c)     If you are not happy with the result of tone mapping a HDRI, then unchecking Auto-setup and manually adjusting the Maximum luminance and Minimum luminance values may help get the HDRI to view correctly.

 

                                         (d)     hitting detect will make sure a render view will match what you see in the Editor window.

 

                              (7)     There, now I can see outside as well and looks like I will be able to use this HDRI for lighting, reflections and background. So I only need to add a few objects and still have a whole environment.

 

                    iv.      Now I rather you experiment and maybe even put your own objects into this scene with any viewpoint you see fit. Be creative and by all means have fun. Just use what I am doing if it is useful for your own creation.

 

                    v.       The main thing is you getting to know the tools and what is possible from within this very powerful program we call trueSpace.

 

                    vi.      After creating some custom objects for you client, maybe using a few Proteam objects as well, it is time to position them in the HDRI Environment.

 

                    vii.     I want to take advantage of lighting to show off the bubbling brew by having light shine through the magic liquid which should do the trick. So a little looking around and positioning may find that magic spot. That looks like a good spot with the window in the background. Of course I’ve found this spot for this course but you can do the same thing.

 

                              (1)     A few notes for the Course Camera

 

                                         (a)     you see the AspectRatio and a few other controls

 

                                                   (i)      This can help match the real time renderer view with the modeler render view if you need more accuracy

 

                                                   (ii)     the AspectRatio just affects Player view and not modeler view, same with HorizontaFOV which this same slider will control if checked

 

                                                   (iii)    The FOV will control both Modeler and Player view

 

                              (2)     I am going to update the PostProcess Editor window to check if my tone mapping is still good and adjust if necessary. Looks good.

                                         (a)     a quick render to confirm and close the PostProcessEditor for now.

 

                              (3)     Since I am going to load a number of new objects into this scene, I need to do some configuring of our user interface for easy dragging and dropping.

 

                                         (a)     I have to say I really love how TS can immediately be configured to a different view or context as you need

 

                                         (b)     For example I am going to turn my bigger modeler view into a 2D context which becomes a new bigger Link editor.

 

                                         (c)     And my small link editor to a 3d context, which I previously configured to be a modeler window as you see.

 

                                         (d)     A quick render shows it is in sync with the Player window to the right and notice the effects of tone mapping in the modeler compared to the Player window.

 

                                         (e)     So in essence a couple of clicks and I am immediately ready to for my next operation, this is an extremely powerful U/I ladies and gentlemen.

 

                              (4)     Lets go ahead and load the first object, a Table, by dragging into the Link Editor

 

                                         (a)     Hmmm, I don’t see it in my view, except part of a leg.

 

                                         (b)     You might be tempted to move the table so as to get it into camera view.

 

                                                   (i)      A much simpler way is to move the camera view and keep the Table on the grid and in the center but maintain the same view of HDRI.

 

                                                   (ii)     This is where the Player preview of the HDRI really comes in handy!

 

                                                   (iii)    Move the camera to get the table in camera view with the window in the background. This leaves the table planted on the grid and in the center of your TS universe.

 

                                                             1)      This makes it much more simpler to add and place all the other objects in the scene by using the grid later, while keeping the same desired view of the HDRI.

 

                                                   (iv)    Once you are happy with your camera location and view, other objects can then be loaded around the scene.

 

                                                             1)      Now You can use the Player, which I highly recommend, when loading objects, giving a great preview with the HDRI in the background

 

                                                             2)      or the modeler which I am going to use so as to keep this chapter video memory size smaller by using wire frame mode. That is once I restore my layout.

 

                                                   (v)     Lets load some more objects into the Link Editor

 

                                                             1)      A wooden chair

 

                                                             2)      A place mat

                                                                        a)       Since I left the table in the same position and just moved the camera for view, any previous alignment I had with making the objects in the first place will be kept. Which should make things much easier.

 

                                                             3)      Load a Proteam vase of roses

 

                                                             4)      A Player SDS wine glass

 

                                                                        a)       you can use the modeler SDS, adding two layers of SDS is good. If using player, 3 layers seems to be fine as well.

 

                                                             5)      Our new very popular drink, Caligari or CaliSoft

 

                                                             6)      A Player SDS mirror

 

                                                             7)      And of course some flashy reading material, hmmm I wonder what it says?

 

                                                   (vi)    Now is a good time to restore my Layout for some direct manipulation in the modeler

 

                                                             1)      Which I think shows how powerful TS Interface is, one click on my Course Layout tab, Transform and Wow! Ready for some direct manipulation

 

                                                   (vii)   So what I am going to do is make some copies of some of the objects and position them, add SDS layers to my filled glass and maybe a few adjustments in alignment.

 

                                                   (viii)  Go ahead and do the same and see what you come up with, I will be back once I am done.

 

                                                   (ix)    This is what I have so far with some changes.

 

                                                             1)      Some copies of chairs and placemats

 

                                                             2)      Resized wine glass and book

 

                                                             3)      Added another cup and a modified texture on the CaliSoft can

 

                                                   (x)     I am going to turn off casting shadows in the Global environment map panel.

                                                   (xi)    Plus keep the other settings low to do some fast pre renders to check things out.

 

                                                             1)      Doesn’t look to bad

 

                                                   (xii)   Now I want to set my settings for HDRI lighting to take advantage of what I have, since I have a lot of transparent materials I want my shadows not to be solid but transparent

 

                                                             1)      so opening up the Environment shadows panel I set Shadow Transparency to Transparent Shadows

 

                                                             2)      and select Shadow Type to Ray (this step isn’t really needed since when doing transparent shadows Ray casting is automatically used anyways but I like to be consistent)

 

                                                             3)      Since I have ray trace shadows I want to soften them somewhat, so I am going to up the Sample setting to 40 and do a render, and then decide if I need to add noise or more samples to soften them up more.

 

                                                   (xiii)  Do a render

 

                                                             1)      this could be a good start

 

                                                                        a)       Some close ups of glass with Soda and your client might be very pleased if not impressed


 

                                                             2)      Keep working the scene until you are happy with the results.

 

                                                                        a)       Maybe add some Depth of Field to blend that mirror in the background.

 

7.       So in summary after completing this chapter

 

          a.       You should be able to find the light sources in any HDRI and position you objects or camera to take advantage of the light sources

          b.       Position objects or move camera to get objects and background lined up as needed. Keeping objects so you can use the grid can make it much easier

          c.       Tone map the HDRI so it blends in better with your scene if needed

          d.       And of course have a lot of fun

 

8.       Hope you enjoy this chapter, see you on our next step in using HDRI in TrueSpace.